import React from 'react';
import SvgIcon, { type SvgIconProps } from '@mui/material/SvgIcon';

const GitHubIcon: React.FC<SvgIconProps> = props => (
  <SvgIcon viewBox='0 0 24 24' {...props}>
    <svg
      width='24'
      height='24'
      viewBox='0 0 24 24'
      fill='none'
      xmlns='http://www.w3.org/2000/svg'
    >
      <path
        d='M12.0001 2C6.47791 2 2 6.59039 2 12.2532C2 16.7833 4.86533 20.6266 8.83867 21.9824C9.33844 22.0773 9.52192 21.76 9.52192 21.4891C9.52192 21.2446 9.51265 20.437 9.50834 19.5802C6.72631 20.2004 6.13927 18.3705 6.13927 18.3705C5.68437 17.1854 5.02894 16.8702 5.02894 16.8702C4.12163 16.2339 5.09733 16.2469 5.09733 16.2469C6.10151 16.3193 6.63026 17.3035 6.63026 17.3035C7.52217 18.871 8.96965 18.4178 9.5403 18.1559C9.63006 17.4932 9.88922 17.0409 10.1752 16.7848C7.95405 16.5256 5.61913 15.6464 5.61913 11.7177C5.61913 10.5982 6.00977 9.6836 6.64947 8.96556C6.54564 8.70731 6.20335 7.66447 6.74635 6.25218C6.74635 6.25218 7.58609 5.97661 9.49708 7.30317C10.2948 7.07599 11.1502 6.96206 12.0001 6.95816C12.8499 6.96206 13.7061 7.07599 14.5052 7.30317C16.4139 5.97661 17.2525 6.25218 17.2525 6.25218C17.7968 7.66447 17.4544 8.70731 17.3505 8.96556C17.9917 9.6836 18.3797 10.5982 18.3797 11.7177C18.3797 15.6557 16.0403 16.5228 13.8135 16.7767C14.1722 17.0949 14.4918 17.7188 14.4918 18.6754C14.4918 20.0473 14.4802 21.1514 14.4802 21.4891C14.4802 21.762 14.6602 22.0817 15.1671 21.981C19.1383 20.6237 22 16.7818 22 12.2532C22 6.59039 17.5227 2 12.0001 2Z'
        fill='#091E42'
      />
      <path
        d='M5.81615 16.6507C5.79416 16.7011 5.71615 16.7162 5.64507 16.6816C5.57267 16.6485 5.53201 16.5797 5.55548 16.5291C5.57697 16.4772 5.65515 16.4627 5.72739 16.4975C5.79995 16.5306 5.84127 16.6001 5.81615 16.6507Z'
        fill='#091E42'
      />
      <path
        d='M6.22141 17.1096C6.17381 17.1545 6.08075 17.1337 6.01761 17.0627C5.95232 16.9919 5.94009 16.8973 5.98835 16.8517C6.03745 16.8068 6.12769 16.8279 6.19315 16.8986C6.25844 16.9703 6.27116 17.0642 6.22141 17.1096Z'
        fill='#091E42'
      />
      <path
        d='M6.61438 17.6939C6.55323 17.7371 6.45323 17.6966 6.39141 17.6064C6.33025 17.5161 6.33025 17.4078 6.39273 17.3644C6.45471 17.3211 6.55323 17.3601 6.61587 17.4497C6.67686 17.5415 6.67686 17.6497 6.61438 17.6939Z'
        fill='#091E42'
      />
      <path
        d='M7.15496 18.2589C7.10025 18.3203 6.98372 18.3038 6.89843 18.2201C6.81116 18.1382 6.78686 18.022 6.84174 17.9607C6.89711 17.8991 7.0143 17.9164 7.10025 17.9995C7.18686 18.0812 7.21331 18.1982 7.15496 18.2589Z'
        fill='#091E42'
      />
      <path
        d='M7.89799 18.587C7.87386 18.6665 7.76163 18.7026 7.64857 18.6688C7.53568 18.634 7.46179 18.5409 7.4846 18.4605C7.50808 18.3805 7.6208 18.3429 7.73469 18.379C7.84741 18.4136 7.92146 18.5061 7.89799 18.587Z'
        fill='#091E42'
      />
      <path
        d='M8.71408 18.6482C8.71689 18.7319 8.62102 18.8013 8.50235 18.8028C8.38301 18.8055 8.28648 18.7378 8.28516 18.6554C8.28516 18.5708 8.37888 18.5021 8.49821 18.5001C8.61689 18.4977 8.71408 18.565 8.71408 18.6482Z'
        fill='#091E42'
      />
      <path
        d='M9.4744 18.5165C9.48861 18.5982 9.40613 18.6821 9.28828 18.7044C9.17242 18.7259 9.06514 18.6755 9.05043 18.5945C9.03605 18.5108 9.12002 18.4269 9.23572 18.4052C9.35374 18.3843 9.45936 18.4334 9.4744 18.5165Z'
        fill='#091E42'
      />
    </svg>
  </SvgIcon>
);

export default GitHubIcon;
